<!DOCTYPE html>
<html lang="en">
<head>
	
	<!-- start: Meta -->
	<meta charset="utf-8">
	<title>Xách đồ - Trang quản trị</title>
	<meta name="description" content="Perfectum Dashboard Bootstrap Admin Template.">
	<meta name="author" content="Łukasz Holeczek">
	<!-- end: Meta -->
	
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- end: Mobile Specific -->
	
	<!-- start: CSS -->
	<link id="bootstrap-style" href="<?php echo Yii::app()->theme->baseUrl; ?>/admin/css/bootstrap.min.css" rel="stylesheet">
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/admin/css/datetimepicker.css" rel="stylesheet">
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/admin/css/bootstrap-responsive.min.css" rel="stylesheet">
	<link id="base-style" href="<?php echo Yii::app()->theme->baseUrl; ?>/admin/css/style.css" rel="stylesheet">
	<link id="base-style-responsive" href="<?php echo Yii::app()->theme->baseUrl; ?>/admin/css/style-responsive.css" rel="stylesheet">
	
	<!--[if lt IE 7 ]>
	<link id="ie-style" href="css/style-ie.css" rel="stylesheet">
	<![endif]-->
	<!--[if IE 8 ]>
	<link id="ie-style" href="css/style-ie.css" rel="stylesheet">
	<![endif]-->
	<!--[if IE 9 ]>
	<![endif]-->
	
	<!-- end: CSS -->
	

	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	  <![endif]-->

	  <!-- start: Favicon -->
	  <link rel="shortcut icon" href="<?php echo Yii::app()->theme->baseUrl; ?>/admin/img/favicon.ico">
	  <!-- end: Favicon -->
	  <script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery-1.9.1.min.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery-migrate-1.0.0.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery-ui-1.10.0.custom.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.ui.touch-punch.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/bootstrap.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/bootstrap-datetimepicker.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.cookie.js"></script>

		<script src='<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/fullcalendar.min.js'></script>

		<script src='<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.dataTables.min.js'></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/excanvas.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.flot.min.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.flot.pie.min.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.flot.stack.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.flot.resize.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.chosen.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.uniform.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.cleditor.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.noty.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.elfinder.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.raty.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.iphone.toggle.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.uploadify-3.1.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.gritter.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.imagesloaded.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.masonry.min.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.knob.js"></script>

		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.sparkline.min.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/jquery.validate.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/validation.js"></script>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/js/custom.js"></script>

	  <script type="text/javascript">
	  $(document).ready(function(){
	  	var flag = 0;
	  	$('nav ul.nav li a').each(function(){

	  		if($(this).hasClass('submenu')) {

	  			if($($(this))[0].href==String(window.location)) {

	  				$(this).parent().parent().parent().addClass('current');
	  			}

	  		} else {

	  			if($($(this))[0].href==String(window.location)) {

	  				$(this).parent().addClass('current');
	  				flag = 1;
	  			}
	  		}
	  	})
	  	if(flag == 0){
	  		$("nav ul.nav li[class=home]").addClass("current");
	  	}
	  });
	  </script>

	</head>

	<body>
		<div id="overlay">
			<ul>
				<li class="li1"></li>
				<li class="li2"></li>
				<li class="li3"></li>
				<li class="li4"></li>
				<li class="li5"></li>
				<li class="li6"></li>
			</ul>
		</div>	
		<!-- start: Header -->
		<div class="navbar">
			<div class="navbar-inner">
				<div class="container-fluid">
					<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</a>
					<a class="brand" href="index.html"> <img alt="Perfectum Dashboard" src="<?php echo Yii::app()->theme->baseUrl; ?>/admin/img/logo20.png" /> <span class="hidden-phone">Xách đồ - Admin Panel</span></a>

					<!-- start: Header Menu -->
					<div class="nav-no-collapse header-nav">
						<ul class="nav pull-right">
							<!-- start: Notifications Dropdown -->
							
							<!-- end: Message Dropdown -->
							<!-- start: User Dropdown -->
							<li class="dropdown">
								<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
									<i class="icon-user icon-white"></i>
									<span class="caret"></span>
								</a>
								<ul class="dropdown-menu">
									<li><a href="#"><i class="icon-user"></i> Tài khoản</a></li>
									<li><a href="<?php echo Yii::app()->createUrl('admin/login/logout'); ?>"><i class="icon-off"></i> Đăng xuất</a></li>
								</ul>
							</li>
							<!-- end: User Dropdown -->
						</ul>
					</div>
					<!-- end: Header Menu -->

				</div>
			</div>
		</div>
		<!-- start: Header -->

		<div class="container-fluid">
			<div class="row-fluid">
				
				<!-- start: Main Menu -->
				<div class="span2 main-menu-span">
					<div class="nav-collapse sidebar-nav">
						<ul class="nav nav-tabs nav-stacked main-menu">
							<li><a href="<?php echo Yii::app()->createUrl('admin/default/index'); ?>"><i class="icon-home icon-white"></i><span class="hidden-tablet"> Trang chủ</span></a></li>
							<li><a href="<?php echo Yii::app()->createUrl('admin/news/index');?>"><i class="icon-bullhorn icon-white"></i><span class="hidden-tablet"> Giới thiệu</span></a></li>
							<li><a href="<?php echo Yii::app()->createUrl('admin/user/index'); ?>"><i class="icon-user icon-white"></i><span class="hidden-tablet"> Người dùng</span></a></li>
							<li><a href="<?php echo Yii::app()->createUrl('admin/menu/index');?>"><i class="icon-align-justify icon-white"></i><span class="hidden-tablet"> Menu</span></a></li>
							<li><a href="<?php echo Yii::app()->createUrl('admin/event/index'); ?>"><i class="icon-list-alt icon-white"></i><span class="hidden-tablet"> Sự kiện</span></a></li>
							<li><a href="#"><i class="icon-calendar icon-white"></i><span class="hidden-tablet"> Chuyến đi</span></a></li>
							<li><a href="<?php echo Yii::app()->createUrl('admin/advertisement/index'); ?>"><i class="fa-icon-tags icon-white"></i><span class="hidden-tablet"> Quảng cáo</span></a></li>
							<li><a href="<?php echo Yii::app()->createUrl('admin/supportticket/index'); ?>"><i class="icon-envelope icon-white"></i><span class="hidden-tablet"> Hỏi Đáp - Liên Hệ</span></a></li>
							

						</ul>
					</div><!--/.well -->
				</div><!--/span-->
				<!-- end: Main Menu -->

				<noscript>
					<div class="alert alert-block span10">
						<h4 class="alert-heading">Warning!</h4>
						<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
					</div>
				</noscript>

				<div id="content" class="span10">
					<!-- start: Content -->
					<?php echo $content; ?>

				</div>
				<!-- end: Content -->
			</div><!--/#content.span10-->
		</div><!--/fluid-row-->

		<div class="modal hide fade" id="myModal">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal">×</button>
				<h3>Settings</h3>
			</div>
			<div class="modal-body">
				<p>Here settings can be configured...</p>
			</div>
			<div class="modal-footer">
				<a href="#" class="btn" data-dismiss="modal">Close</a>
				<a href="#" class="btn btn-primary">Save changes</a>
			</div>
		</div>

		<div class="clearfix"></div>

		<footer>
			<p>
				<span style="text-align:left;float:left">&copy; <a href="http://clabs.co" target="_blank">SDG Team</a> 2013</span>
				<span style="text-align:right;float:right">Powered by: <a href="#">SDG Team</a></span>
			</p>

		</footer>
		<!--/.fluid-container-->

		<!-- start: JavaScript-->

		
		<script type="text/javascript">

// function message_welcome1(){
// 	var unique_id = $.gritter.add({
// 			// (string | mandatory) the heading of the notification
// 			title: 'Welcome on Perfectum Dashboard',
// 			// (string | mandatory) the text inside the notification
// 			text: 'I hope you like this template',
// 			// (string | optional) the image to display on the left
// 			image: 'img/avatar.jpg',
// 			// (bool | optional) if you want it to fade out on its own or just sit there
// 			sticky: false,
// 			// (int | optional) the time you want it to be alive for before fading out
// 			time: '',
// 			// (string | optional) the class name you want to apply to that specific message
// 			class_name: 'my-sticky-class'
// 		});
// }

// function message_welcome2(){
// 	var unique_id = $.gritter.add({
// 			// (string | mandatory) the heading of the notification
// 			title: 'Perfectum is Amazing Theme',
// 			// (string | mandatory) the text inside the notification
// 			text: 'Perfectum works on all devices, computers, tablets and smartphones. Perfectum has lots of great features. Try It!',
// 			// (string | optional) the image to display on the left
// 			image: 'img/avatar.jpg',
// 			// (bool | optional) if you want it to fade out on its own or just sit there
// 			sticky: false,
// 			// (int | optional) the time you want it to be alive for before fading out
// 			time: '',
// 			// (string | optional) the class name you want to apply to that specific message
// 			class_name: 'my-sticky-class'
// 		});
// }

// function message_welcome3(){
// 	var unique_id = $.gritter.add({
// 			// (string | mandatory) the heading of the notification
// 			title: 'Buy Perfectum!',
// 			// (string | mandatory) the text inside the notification
// 			text: 'This great template can be yours today.',
// 			// (string | optional) the image to display on the left
// 			image: 'img/avatar.jpg',
// 			// (bool | optional) if you want it to fade out on its own or just sit there
// 			sticky: false,
// 			// (int | optional) the time you want it to be alive for before fading out
// 			time: '',
// 			// (string | optional) the class name you want to apply to that specific message
// 			class_name: 'gritter-light'
// 		});
// }

// $(document).ready(function(){

// 	setTimeout("message_welcome1()",5000);
// 	setTimeout("message_welcome2()",10000);	
// 	setTimeout("message_welcome3()",15000);

// });			
</script>
<!-- end: JavaScript-->

</body>
</html>
